package com.market.plus.core.exception;

public class TypeCodeException extends ExceptionCode {

   public static final int NEWSTYPE = 0;

   public static final int ALBUMTYPE = 1;

   public static final int FRIENDSTATUS = 2;

   public static final int NEWSSECURITYSTATUS = 3;

   public String getMessage(int messageCode) {
      String message = "";
      switch (messageCode) {
         case NEWSTYPE:
            message = "Unsuppported the News Type";
            break;
         case ALBUMTYPE:
            message = "Unsuppported the Album Type";
            break;
         case FRIENDSTATUS:
            message = "Unsuppported the Friend Status";
            break;
         case NEWSSECURITYSTATUS:
            message = "Unsuppported the Friend Status";
         default:
            message = "Unsuppported the type";
            break;
      }
      return message;
   }
}
